import {
    createApp
} from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import './utils/rem.ts'
import './assets/css/base.scss'
import './assets/css/default.scss'
import '@/permission' // permission control
import * as ElementPlusIconsVue from '@element-plus/icons-vue'
const app = createApp(App);

app.use(store).use(router).mount('#app')

for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
    app.component(key, component)
}